package com.hlkj.baojin.entity;

import com.hlkj.baojin.entity.dto.Details;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.List;

/**
 * @author lzx
 * @created with: baojin
 * @package com.hlkj.baojin.entity
 * @description:
 * @date 2018/12/17 10:22
 * @modified By:
 * @Copyright © 2018 HAILIANG Info. Tech Ltd. All rights reserved.
 */
@Document
@Getter
@Setter
public class DeviceErrLog {

    @Id
    private String id;
    /**
     * 绑定设备Id
     */
    private String deviceId;

    private List<Details> details;
    public DeviceErrLog() {
    }

    public DeviceErrLog(String deviceId, List<Details> details) {
        this.deviceId = deviceId;
        this.details = details;
    }


}